using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AXBC = Microsoft.Dynamics.BusinessConnectorNet;
using AXMD = Microsoft.Dynamics.Framework.Metadata.Ax;
using Proxy = Microsoft.Dynamics.Framework.BusinessConnector.Proxy;

namespace DynamicsAXPS
{
    [System.Management.Automation.Cmdlet("Get", "RSInstance")]
    public class Get_RSInstance : System.Management.Automation.PSCmdlet
    {

        protected override void ProcessRecord()
        {
            var instances = DynamicsAXManagement.Util.GetReportServerInstanced();
            this.WriteObject(instances);
        }
    }

}